package com.greenleaf.service;

import java.util.List;

import com.greenleaf.entity.SearchCon;
import com.greenleaf.entity.Vip;

public interface VipService {
	/**
	 * 查询所有会员
	 */
	public List<Vip> getAllVip(SearchCon searchCon);
	/**
	 * 登录
	 */
	public List<Vip> login(Vip vip);
	/**
	 * 查询所有会员总数
	 */
	public int getTotalVip(SearchCon searchCon);
	/**
	 * 添加会员
	 */
	public int addVip(Vip vip);
	/**
	 * 修改会员
	 */
	public int updateVip(Vip vip);
	/**
	 * 删除会员
	 */
	public int delVip(int vipId);
}
